On Preserving Mapping Consistency under Schema Changes
نویسندگان
چکیده
To achieve interoperability, modern information systems and e-commerce applications use mappings to translate data from one representation to another. In dynamic environments like the Web, data sources may change not only their data but also their schemas, their semantics, and their query capabilities. Such changes must be reflected in the mappings. Mappings left inconsistent by a schema change have to be detected and updated. As large, complicated schemas become more prevalent, and as data is reused in more applications, manually maintaining mappings (even simple mappings like view definitions) is becoming impractical. We present a novel framework and a tool (ToMAS) for automatically adapting mappings as schemas evolve. Our approach considers not only local changes to a schema, but also changes that may affect and transform many components of a schema. We consider a comprehensive class of mappings for relational and XML schemas with choice types and (nested) constraints. Our algorithm detects mappings affected by structural or constraint changes and generates all the rewritings that are consistent with the semantics of the changed schemas. Our approach explicitly models mapping choices made by a user and maintains these choices, whenever possible, as the schemas and mappings evolve. When the candidate rewritings are more than one, the algorithm may rank them based on how close they are to the semantics of the existing mappings. We describe an implementation of a mapping management and adaptation tool based on these ideas and compare it with a mapping generation tool. In addition, we present a case study using our tool to manage mappings used in a physical database design tool.
منابع مشابه
Schema Evolution for XML: A Consistency-Preserving Approach
This paper deals with updates of XML documents that satisfy a given schema, e.g., a DTD. In this context, when a given update violates the schema, it might be the case that this update is accepted, thus implying to change the schema. Our method is intended to be used by a data administrator who is an expert in the domain of application of the database, but who is not required to be a computer s...
متن کاملMapping Repair in Ontology-based Data Access Evolving Systems (Extended Abstract)
In this paper we study the evolution of ontologybased data access (OBDA) specifications, and focus on the case in which the ontology and/or the data source schema change, which may require a modification to the mapping between them to preserve both consistency and knowledge. Our approach is based on the idea of repairing the mapping according to the usual principle of minimal change and on a re...
متن کاملXML Schema Mappings in the Presence of Key Constraints and Value Dependencies
Schema mappings play a central role in both data integration and data exchange, and are understood as high-level specifications describing the relationships between data schemas. Based on these specifications, data structured under a source schema can be transformed into data structured under a target schema. During the transformation some structural constraints, both context-free (the structur...
متن کاملHigh-level Operations for Changing Temporal Schema, Conventional Schema and Annotations, in the τXSchema Framework
τXSchema [1] is a framework for constructing and validating time-varying XML documents through the use of a temporal schema. This latter ties together a conventional schema (i.e., a standard XML Schema document) and its corresponding logical and physical annotations, which are stored in an annotation document. Conventional schema and logical and physical annotations undergo changes to respond t...
متن کاملMaintaining Database Consistency in the Presence of Schema Evolution
With rapid advances in computer network technology and the increasing interest in global information sharing, grows the need for facilities that can eeectively maintain the database consistency and program compatibility as the schema evolves. In this paper, we present a general framework based on versions of schema for supporting seamless schema evolution in large-scale object-oriented software...
متن کامل